package com.feige.utils.file.pojo;


/**
 * @author feige<br />
 * @ClassName: FileInfo <br/>
 * @Description: <br/>
 * @date: 2021/9/25 17:42<br/>
 */
public class FSInfo {

    private String group;

    private String path;

    private String storageType;

    private String originalFilename;

    /**
     * @description: 获取路径前缀 a/b/c
     * @author: feige
     * @date: 2021/9/26 18:01
     * @param
     * @return: java.lang.String
     */
    public String getGroup() {
        return this.group;
    }

    public void setGroup(String group) {
        this.group = group;
    }

    /**
     * @description: 获取文件名 d.jpg
     * @author: feige
     * @date: 2021/9/26 18:02
     * @param
     * @return: java.lang.String
     */
    public String getPath() {
        return this.path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getStorageType() {
        return storageType;
    }

    public void setStorageType(String storageType) {
        this.storageType = storageType;
    }

    /**
     * @description: 获取全路径加文件名a/b/c/d.jpg
     * @author: feige
     * @date: 2021/9/26 17:59
     * @param
     * @return: java.lang.String
     */
    public String getFullPath() {
        return this.group.concat("/").concat(this.path);
    }


    public String getOriginalFilename() {
        return originalFilename;
    }

    public void setOriginalFilename(String originalFilename) {
        this.originalFilename = originalFilename;
    }
}
